package com.rightsidetech.system.service;

import com.github.pagehelper.PageInfo;
import com.rightsidetech.commom.base.PageRequest;
import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.system.dtos.request.ActivityMaterialAddReq;
import com.rightsidetech.system.dtos.request.ActivityMaterialOperateReq;
import com.rightsidetech.system.dtos.request.ActivityMaterialReq;
import com.rightsidetech.system.dtos.request.ActivityMaterialUpdateReq;
import com.rightsidetech.system.dtos.response.material.ActivityFileResp;
import com.rightsidetech.system.dtos.response.material.ActivityMaterialAppResp;
import com.rightsidetech.system.dtos.response.material.ActivityMaterialDetailsResp;
import com.rightsidetech.system.dtos.response.material.ActivityMaterialResp;

import java.util.List;

/**
 * @Package: com.rightsidetech.system.service
 * @ClassName: SysActivityMaterialService
 * @Author: yinj
 * @CreateTime: 2021/12/13 9:57
 */
public interface SysMaterialService {
    ResponseData<PageInfo<ActivityMaterialResp>> page(ActivityMaterialReq request);

    ResponseData add(ActivityMaterialAddReq request,Long loginInfoId);

    ResponseData update(ActivityMaterialUpdateReq request,Long loginInfoId);

    ResponseData operate(ActivityMaterialOperateReq request,Long loginInfoId);

    ResponseData<ActivityMaterialDetailsResp> details(Long id);

    ResponseData<PageInfo<ActivityMaterialAppResp>> agentAppPage(PageRequest request, Byte target);

    ResponseData<List<ActivityFileResp>> fileDetails(Long id);
}
